/**
 * Copyright (C), 2015-2020, 真格邦软件科技有限公司
 * 文件名: GeneratorRequest
 * 作者: lsyzx【zhux@zhengebang.com】
 * 创建时间: 2019/1/31 16:26
 */
package com.zx.utils.request.sys;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * 作者: lsyzx【zhux@zhengebang.com】
 * 创建时间: 2019/1/31 16:26
 * 描述: 生成mybatis
 * 历史修改:
 * <author>          <time>          <version>          <desc>
 * 作者姓名           修改时间           版本号              描述
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@ApiModel(value = "生成mybatis请求", description = "生成mybatis请求")
public class GeneratorRequest implements Serializable {

    /**
     * 文件路径
     */
    @ApiModelProperty(name = "path", value = "文件路径", required = true)
    private String path;

    @ApiModelProperty(name = "ip", value = "主机名或IP地址 url", required = true)
    private String ip;

    @ApiModelProperty(name = "db", value = "数据库", required = true)
    private String db;

    @ApiModelProperty(name = "port", value = "端口", required = true)
    private String port;

    @ApiModelProperty(name = "username", value = "用户名", required = true)
    private String username;

    @ApiModelProperty(name = "password", value = "密码", required = true)
    private String password;

    @ApiModelProperty(name = "modelpackagename", value = "生成模型的包名", required = true)
    private String modelpackagename;

    @ApiModelProperty(name = "daopackagename", value = "生成DAO的包名", required = true)
    private String daopackagename;

    @ApiModelProperty(name = "mapperpath", value = "生成映射文件的位置", required = true)
    private String mapperpath;

    @ApiModelProperty(name = "tablename", value = "表名", required = true)
    private String tablename;

    @ApiModelProperty(name = "tablemodel", value = "模型名称", required = true)
    private String tablemodel;

}
